var { timeHelper, deviceHelper, appHelper } = require("../helper");
function execLoop() {
  var sec = timeHelper.sleep(4, 8);
  appHelper.goAutojsThenOpen("抖音极速版", 2, 6);
  return sec;
}
Wang.main = function (ts) {
  ts = ts || 15;
  var secs = 0;
  for (var index = 0; index < ts; index++) {
    secs += execLoop();
  }
  console.log(`已执行${ts}次循环，共逛街${secs}秒`);
};
